
import database.DBClass;
import java.beans.beancontext.BeanContext;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
import model.Pengadaan;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author elfatah
 */
public class testing {
    
//    public static void main(String[] args) {
//        try {
//            Pengadaan bean = new Pengadaan();
//            DBClass db = new DBClass();
//            bean.setPengadaanId(2);
//            bean.setIdPegawai(1);
//            bean.setIdSupplyer(1);
//            bean.setIdBarang(1);
//            bean.setJumlahBarang(6000);
//            bean.setHargaSatuan(90);
//          //  bean.setJumlahHarga("19000");
//            bean.setTgl("2013-12-17 02:50:13");
//            db.UpdatePengadaan(bean, "2");
//        } catch (SQLException ex) {
//            Logger.getLogger(testing.class.getName()).log(Level.SEVERE, null, ex);
//        } catch (ClassNotFoundException ex) {
//            Logger.getLogger(testing.class.getName()).log(Level.SEVERE, null, ex);
//        }
//    }
}
